#include <iostream>
#include "Point"

using std::cout;
using std::endl;

Point & Point::getInstance()
{
    static Point pt(1,2);
    return pt;
}

void Point::print()const 
{
    cout << "(" << this->_ix
        << "," << this->_iy
        << ")" << endl;
}

Point::Point(int x, int y)
    : _ix(x)
      , _iy(y)
{
    cout << "Point(int,int)" << endl;
}
